package com.libhttp

import androidx.multidex.BuildConfig
import rxhttp.wrapper.annotation.DefaultDomain

/**
 * CreateBy:Joker
 * CreateTime:2023/5/4 17:08
 * description：
 */
object HttpURL {

    private const val BASE_URL_DEV = "http://cloudac-test.monetpro.ai"           //测试环境
    private const val BASE_URL_PROD = "https://cloudac.monetpro.ai"              //正式环境

    @JvmField
    @DefaultDomain //设置为默认域名
    var baseUrl = if (BuildConfig.DEBUG) BASE_URL_DEV else BASE_URL_PROD

    /**
     * 文件下载
     */
    const val URL_RES_FILE = "/file"

    /**
     * fcmToken上传
     */
    const val URL_POST_FCM_TOKEN = "/file"


}